﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace RN.ERP.Entity
{
    [Table("B_Material")]
    public class Material
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int id { get; set; }
        public string cMCode { get; set; }
        public string cMName { get; set; }
        public string cMCCode { get; set; }
        public string cMPCode { get; set; }
        public string cUnit { get; set; }
        public string cPicURL { get; set; }
        public int? iMNum { get; set; }
        public decimal? dMEvaluate { get; set; }
        public bool bIsAssets { get; set; }
        public bool bIsBorrow { get; set; }
        public bool bIsSale { get; set; }
        public bool bIsSample { get; set; }
        public string cMemo { get; set; }
        public int iStatus { get; set; }
        public string cCUid { get; set; }
        public DateTime dCDate { get; set; }
        public string cUUid { get; set; }
        public DateTime dUDate { get; set; }
    }
}
